package com.bwie.config;


import org.apache.kafka.clients.admin.NewTopic;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class KafkaConfig {


    public final static String LOG_TOPIC = "logTopic";


    @Bean
    public NewTopic logTopic(){
        return new NewTopic(LOG_TOPIC,1,(short) 1);
    }
}
